<template>
  <div class="search">
    <mt-search
      autofocus
      v-model="value"
      :result="filterResult">
    </mt-search>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        value: '',
      };
    },
    computed: {
      filterResult() {
        console.log('ok');
      }
    }
  };
</script>

<style scoped>
  .search {
    margin-bottom: 50px;
  }

  .mint-search {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 50px;
  }
</style>
